Method and apparatus for transmitting and downloading setup information

ABSTRACT

Multiple channel maps are embedded in a television transmission and the appropriate channel corresponding to the particular television service used by the viewer is downloaded for use with the television receiver. Each channel map is accompanied by a channel map identifier which identifies the source of the television transmission and a geographic identifier. The source of a television transmission is automatically detected by monitoring the radio-frequency spectrum allocations of telecast stations. The geographic area identifier is determined by comparison with a user inputted geographic area identifier. The channel map having a channel map identifier corresponding to the detected television transmission source and the user inputted geographic area identifier is downloaded and stored for future use.

CROSS-REFERENCES

The present application is a continuation of patent application Ser. No.08/694,867, filed on Aug. 9, 1996, pending, which is acontinuation-in-part of patent application Ser. No. 08/335,248, filedNov. 7, 1994, entitled “A Remote Controller for Setting Clocks inAppliances”, now abandoned; and a continuation-in-part of patentapplication Ser. No. 08/615,567, filed Mar. 11, 1996, entitled “Methodand Apparatus for Controlling a Television Tuner”, now abandoned, whichis a continuation of patent application Ser. No. 08/401,008, filed Mar.8, 1995, now abandoned. The present application also claims priority ofProvisional application Ser. No. 60/010,023, filed Jan. 16, 1996,entitled “Method and Apparatus for Detecting Type of Telecast Signal”;and Provisional application Ser. No. 60/017,703 filed May 23, 1996,entitled “Method and Apparatus for Detecting Type of Telecast Signal.”All of the above-identified applications being incorporated herein byreference as though set forth in full.

FIELD OF INVENTION

The present invention relates to transmission and reception of dataembedded in a television signal, and more particularly, to an automatedmethod and apparatus for transmitting multiple channel maps in atelevision signal and downloading the channel map corresponding to theparticular television service used by the viewer.

BACKGROUND OF THE INVENTIONS

In the field of television broadcasting, radio-frequency (“RF”) spectrumallocations are used to define the manner in which the RF spectrum is tobe occupied by the television transmission. By way of example, in theUnited States, television transmissions are divided into two frequencyranges referred to as very-high-frequency (VHF) and ultra-high-frequency(UHF) regions. The VHF region lies roughly in the frequency range of 40MHz to 200 MHz, while the UHF region extends from about 470 MHz toalmost 1.0 GHz. The precise channel and bandwidth assignments include 68channels, each occupying 6 MHz.

Each television broadcast station (“television station”) occupies onechannel on the RF spectrum. These channel allocations, however, varydepending upon the particular television service, i.e., satellitetransmission, cable service, and over-the-air broadcasts, used by theviewer and the specific geographic area of service. Moreover, each cableservice will generally have its own allocations of channels. The tablethat relates these television stations to their respective channelallocations for any particular television service is sometimes referredto as a channel map. FIG. 1 illustrates examples of three differentchannel maps for an over-the-air (“OTA”) broadcast, and two cablecompanies, Cable Co. A and Cable Co. B.

With conventional television technology, a printed program guide havingthe appropriate channel map must be consulted to determine the channelto which the tuner must be set to receive a particular televisionstation. To facilitate this process for the viewer, commercial remotecontrollers are available equipped with memory for storing the channelmap applicable to the particular television service for a givengeographic area. The viewer must first set up the remote controller bykeying in the entire channel map from the printed program guidemanually. Then, when the viewer keys in a particular television station,the controller accesses the channel mapping memory, converts thetelevision station to the applicable channel, and sets the tuneraccordingly.

Recently with the advent of systems to set a video cassette recorder(VCR) for unattended recording by means of code numbers, such as used ina commercial system called VCR PLUS+™ or with an onscreen cursor toselect programs from a list displayed on the television screen, channelmapping has become a necessity. In these systems, the appropriatechannel map must be stored in memory so that when the viewer designatesa name of a television station by code number or cursor, thecorresponding channel is retrieved from the memory and used toautomatically set the tuner.

While these channel mapping features have proven to be a convenient wayfor programming a VCR, the viewer must still manually enter on theremote controller the entire channel map for the particular televisionservice used by the viewer and the geographic location served. Thisprocess increases the complexity of programming the VCR and discouragesthe use of the unattended recording feature by the viewer.

There have been attempts to automate the process of loading theapplicable map into memory. U.S. Pat. No. 4,894,714 to Christisdiscloses the transmission of a channel map from a televisiontransmitter station as a teletext page. The teletext page is downloadedto a channel mapping memory at the television receivers served by thattransmitter. This arrangement requires that each and every cable,satellite, or broadcast service transmit its own channel map whichoccupies a significant portion of the transmission bandwidth.

Accordingly, there is a current need for a method and apparatus that canreduce the volume of data required to implement the channel mappingfunction. It is desirable that this method and apparatus be automated,requiring minimal user interface.

SUMMARY OF THE INVENTION

The present invention is directed to an apparatus and method thatsatisfies this need. There is, therefore provided, according to apreferred embodiment, an apparatus and method for generating a channelmap from data embedded in a television transmission. The data istransmitted on at least one channel of the television transmission andincludes a plurality of channel maps, each channel map having a channelmap identifier associated therewith.

Initially, the source of the television transmission is automaticallydetected by monitoring a portion of the radio-frequency spectrumallocations of the television stations. A front end tuner is providedfor passing a selected channel of the television transmission. Adetector, coupled to the tuner output, detects whether a televisionstation has been allocated to each of the channels selected by,preferably, monitoring the stability of the horizontal sync pulses. Acontroller is coupled to the tuner for selecting the channels to bepassed, and determining the source of the television transmission basedon the detected television station allocations.

Once the television source is detected, the appropriate channel map canbe extracted from the television transmission based on the geographiclocation of the viewer. The microcontroller commands the tuner to scanthe channels and lock on a channel having the data. The microcontrollerincludes determines the channel map identifier based on a geographiclocation of the apparatus, and extracts the channel map corresponding tothe determined channel map identifier.

BRIEF DESCRIPTION OF THE DRAWINGS

These and other features, aspects, and advantages of the presentinvention will become better understood with regard to the followingdescription, appended claims, and accompanying drawings where:

FIG. 1 is a diagram representative of three channel maps in accordancewith a preferred embodiment of the present invention;

FIG. 2 is a schematic block diagram of a network distribution system inaccordance with a preferred embodiment of the present invention;

FIG. 3 is a schematic block diagram of a television station transmitterequipped with data insertion equipment for transmitting channel mappinginformation in accordance with a preferred embodiment of the presentinvention;

FIG. 4 is a schematic block diagram of a Channel Map Decoder at thepoint of reception of the television transmission in accordance with apreferred embodiment of the present invention;

FIG. 5 is a diagram illustrating the data format in accordance with apreferred embodiment of the present invention;

FIG. 6 is a schematic block diagram of a cable distribution network inaccordance with a preferred embodiment of the present invention;

FIG. 7 is diagram illustrating several data blocks in accordance with apreferred embodiment of the present invention;

FIG. 8 is a diagram representative of a source map data packet, anintermediate channel map packet, and a final merged channel map inaccordance with a preferred embodiment of the present invention;

FIG. 9 is a diagram illustrating the creation of the final mergedchannel map from the data packets of FIG. 8 in accordance with apreferred embodiment of the present invention;

FIG. 10 is a diagram representative of a network distribution system inaccordance with a preferred embodiment of the present invention;

FIG. 11 is a table representative of a host schedule packet inaccordance with a preferred embodiment of the present invention;

FIG. 12 is a diagram representative of a network distribution system inaccordance with a preferred embodiment of the present invention;

FIG. 13 is a table representative of a channel map selection packet inaccordance with a preferred embodiment of the present invention;

FIG. 14 is a diagram representative of a host schedule packet withcurrent GCH bits in accordance with a preferred embodiment of thepresent invention;

FIG. 15 is a table representative of a host assignment packet withMulti-OTA bits in accordance with a preferred embodiment of the presentinvention;

FIG. 16 is an electrical schematic block diagram of the Channel MapDecoder in accordance with a preferred embodiment of the presentinvention;

FIG. 17 is a flow diagram illustrating the execution of the channel mapdownloading program in the Channel Map Decoder in accordance with apreferred embodiment of the present invention;

FIG. 18 is a flow diagram illustrating the portion of the channelmapping downloading program pertaining to the determination of thesource of the television transmission in accordance with a preferredembodiment of the present invention; and

FIGS. 19A, 19B and 19C are flow diagrams illustrating a portion of thechannel map downloading program pertaining to the processing of datapackets in accordance with a preferred embodiment of the presentinvention.

DETAILED DESCRIPTION

In the preferred embodiment of the present invention, channel mappinginformation is transmitted over one or more designated televisionstations known as “physical hosts.” The channel mapping informationtransmitted by each physical host includes the channel maps for most orall of the television services carrying that physical host. Accompanyingeach channel map is a channel map identifier which uniquely identifiesthe channel map applicable to each television service. The channel mapidentifiers are preferably postal directory codes (“zipcodes”) becauseviewers in the same local geographic area generally receive the same OTAbroadcast or subscribe to the same cable service. Moreover, if severaldifferent zipcode areas share the same channel map, further improvementin bandwidth performance can be achieved by forming a zipcode group andsending a single common channel map to that grouped area. Alternatively,the channel map identifiers could be unique codes assigned to thevarious cable, satellite and broadcast services.

In theory, a single physical host, such as a national cable station,could provide channel mapping information to the entire country. As apractical matter, however, the use of a single physical host to servicethe entire nation is not very feasible due mainly to data bandwidthlimitations. This is because there are so many different cable servicesthroughout the United States, each having a unique channel map, that thevolume of data would be so great that a single physical host could notmanage all this data while still maintaining a reasonable datarepetition rate. Accordingly, a broadcast network distribution systemmust be established using several physical hosts to deliver channelmapping information across the nation. Preferably, at least one “localphysical host” is set up to serve each major metropolitan area. A single“national physical host” may be used to service the remainder of thecountry including smaller and remote cities.

FIG. 2 shows a typical broadcast network distribution system utilizingboth local and national physical hosts. In this embodiment, the nationalphysical host is a national cable station 10, such as WGN, which servesthe smaller and rural cities throughout the nation. The majormetropolitan areas such as Los Angeles 11, New York 12, Chicago 13,Detroit 14, and Atlanta 16 are served by local physical hosts. Forexample, in the Los Angeles area a local physical host 18, such as KABC,serves the entire metropolitan area. In this example, both the nationalcable service and local physical host are coupled to the appropriatecable services 20 a-c and combined with television signals from a numberof other television stations 22 a-c. Each cable service 20 a-c has itsown channel allocations, and as a result, each cable service has its ownchannel map. The combined television signals occupying the RF spectrumfor each cable service 20 a-c are coupled to the appropriate cable trunk24 a-c for distribution to the individual subscribers.

In addition to the above described cable distribution network for theLos Angeles area, the local physical host KABC 18, along with one ormore local television stations, provide OTA broadcasts, eachbroadcasting at a different carrier frequency. Consequently, a separatechannel map for OTA broadcasts should be included in the channel mappinginformation of the local physical host.

A typical physical host, whether it being a national or local host, isshown in FIG. 3. The physical host is similar to that of anyconventional television station facility having a base band video signalfrom a video processor 30 modulated onto a subcarrier by an RF modulator32 and coupled to an antenna (not shown) or cable trunk (not shown)through an RF amplifier 33 and a solid-state driver 34. However, unlikeconventional television station facilities, the physical host isequipped with data insertion equipment 28 for embedding channel mapinformation into the base band video signal. Preferably, the channel mapinformation is inserted on selected empty lines of the vertical blankinginterval (“VBI”) of a standard television signal at the video processor30 to promote commercialization. It is also desirable to transmit thechannel mapping information in the same format as closed caption data,and confine the channel mapping information to one VBI line from 10-20,either single field or both fields. Under mandatory FCC requirementseffective July 1993, color televisions having a size 13″ and greatermust provide a closed caption decoder. Thus, this arrangement lowers theoverall implementation cost by reducing the peripheral hardwarerequirements at the receiving end of the transmission since the existingclosed caption decoder can be used. Alternatively, the data format maybe accelerated to twice the bit rate or more to accommodate bandwidthlimitations. Moreover, the channel mapping information may be insertedon multiple VBI lines from 10 to 20.

Caption data decoding is known in the art and described in the followingspecifications, which are hereby incorporated by reference herein: Title47, Code of Federal Regulations, Part 15 as amended by GEN. Docket No.91-1; FCC 91-119; “CLOSED CAPTION DECODER REQUIREMENTS FOR THETELEVISION RECEIVERS”; Title 47, C.F.R., Part 73.682(a)(22), CaptionTransmission format; Title 47, C.F.R. Part 73.699, FIG. 6; “TELEVISIONSYNCHRONIZING WAVE FORM”; Title 47, C.F.R., Part 73.699, FIG. 17a; “LINE21, FIELD 1 DATA SIGNAL FORMAT”; and PBS Engineering Report No.E-7709-C, “TELEVISION CAPTIONING FOR THE DEAF: SIGNAL AND DISPLAYSPECIFICATIONS”.

To successfully download the appropriate channel map, a Channel MapDecoder is required at the point of reception. FIG. 4 shows anelectrical block diagram of a preferred embodiment of the Channel MapDecoder integrated into a conventional television receiver.Alternatively, the Channel Map Decoder may be integrated into a VCR orhoused in a stand alone unit. A UHF/VHF tuner 38 is positioned at thefront end of the Channel Map Decoder for passing a selected channel ofthe television transmission. The tuner 38, which can be any conventionaltuner in the art, should provide amplification, downconversion anddemodulation, as well as frequency tuning. The tuner 36 is coupled by anintermediate frequency (“IF”) amplifier 38 to a video detector 40. Abase band video signal at the output of the video detector 40 is coupledto a television monitor 42 for presentation to the viewer. The tuner 36is set by a signal from a microcontroller 44 to the desired channelnumber. A remote controller 46 is coupled to the microcontroller 44,typically by an infrared communication link, to provide viewer controlof the television channels.

The channel mapping function is controlled by a program executed by themicrocontroller 44. Initially, the microcontroller 44 controls the tuner36 to scan the RF spectrum in search of channel mapping information inthe VBI portion of the television signal. A VBI decoder 48 positioned atthe output of the tuner extracts any data detected in the VBI andcouples that data to the microcontroller 44 for processing. Since thechannel mapping information can be present on any VBI line, themicrocontroller 44 must be capable of programming the VBI to searchthrough all VBI lines. This provides greater versatility and improvesbandwidth performance. The complexity of the Channel Map Decodercircuitry can be reduced, however, by limiting the transmission ofchannel mapping information to a designated VBI line in either one orboth fields. Any data extracted by the VBI decoder 48 is processed todetermine whether it conforms to a designated format, and if so, whetherany channel map information has a channel map identifier correspondingto the television service subscribed to by the viewer. If a channel mapidentifier is recognized by the microcontroller 44, the accompanyingchannel map is downloaded into memory 50.

The format of the channel mapping information generated by the physicalhost comprises VBI encoded “data packets,” with each data packet beingdivided into one or more “data blocks.” Each data block is encapsulatedwith synchronization code, error detection code, and address code bymeans well known in the art. In some cases it may be preferable toencrypt or scramble the data packets. In the described embodiment thusfar, each channel map would be packaged as a data block and all the datablocks transmitted as a single channel map packet. An exemplary datablock for a channel map packet is shown in FIG. 5. The data block isarranged into a serial format of data bytes representative of a startcode 52, a packet type 54, the number of blocks in the data packet 56,the block number 58, a channel map identifier 60, a channel map 62, achecksum 64 and a stop code 66.

As mentioned above, preferably, each channel map identifier correspondsto a zipcode or group of zipcodes. For example, as shown in FIG. 6,viewers located in the zipcodes 90000-90500 (75) and 90300 (76) areserved by Cable Co. A 74 and viewers located in the 90210 zipcode 78 areserved by Cable Co. B 77. Accordingly, the entire geographic area can beaccommodated with just two channel maps, each channel map beingaccompanied by a unique channel map identifier. To determine theappropriate channel map identifier, a “channel map selection” packetcorrelating the channel map identifiers to the zip codes is sent fromthe physical host. The channel map selection packet is used to identifythe appropriate channel map identifier in response to a viewer inputtedzipcode.

Turning to FIG. 7, an exemplary broadcast for the two types of datapackets described thus far is shown. In this example, a channel mapselection packet 94 having one data block 96, and a channel map datapacket 98 having three channel map blocks 100, 102, 104 are shown. Thethree channel map blocks include a channel map block for Cable Co. A,Cable Co. B 102, and an OTA broadcast 104. To illustrate the processimplemented by the Channel Map Decoder, consider a viewer located in thegeographic area having a zipcode 90300 who subscribes to a cableservice. In this example, the Channel Map Decoder scans through thechannels to locate the channel map selection packet 94 transmitted inthe VBI portion of the television signal. This is accomplished bysetting the tuner to a fixed frequency with the microcontroller andextracting the data transmitted in the VBI portion with the VBI decoder48. The microcontroller then searches for the appropriate start code(07)_(HEX), stop code (FF)_(HEX) and the packet type (02)_(HEX). In thisexample, (01)_(HEX) represents a channel map selection packet and(02)_(HEX) represents a channel map packet. If the Channel Map Decoderfails to detect the proper start code, stop code and data packet type,the tuner will be scanned to a new fixed frequency. In the event thatthe Channel Map Decoder successfully detects a channel map selectionpacket, then the checksum, in this case (2A)_(HEX), will be verified todetermine whether a transmission error has occurred. Assuming a validchannel map selection packet is detected, the Channel Map Decoder willsearch the channel map selection packet 106 for the channel mapidentifier corresponding to the zipcode 90300. In this case, the ChannelMap Decoder will identify and record (2712)_(HEX).

Once the channel map identifier is determined, the Channel Map Decodersearches the remaining blocks of data for the proper start code, stopcode, and data packet codes for channel map packets. The proper datepacket code for channel maps is (02)_(HEX). In this case three datapackets qualify, one for Cable Co. A 100, one for Cable Co. B 102, andone for the OTA broadcast 104. Note that since each data block includesinformation pertaining to the number of blocks in the data packet 107,the channel map controller can readily ascertain when all the channelmap blocks within the data packet have been identified. Once all thechannel map blocks have been identified, the microcontroller will locatethe data block having the appropriate channel map identifier, in thisexample (2712)_(HEX), and assuming a valid checksum, download the entirechannel map 108 into memory.

As discussed above, the channel map 108 relates the television stationcall letters to their respective channel allocations. These televisionstation call letters typically comprise four letters, each requiring twobytes of data, and therefore occupy a significant portion of thebandwidth. Moreover, these television station call letters arerepeatedly transmitted in each channel map block resulting inunnecessary data redundancy. Accordingly, it would be desirable toreduce the volume of data transmitted by the physical host byeliminating the transmission of the television station call letters.This can be achieved by transmitting a third data packet from thephysical host known as a “source map” packet. The source map packetcontains information relating the call letters of each televisionstation to a reference number, hereinafter referred to as a guidechannel (“GCH”). Consequently, the television station call letters wouldno longer be required to be transmitted with each channel map. Rather,the channel map could be transmitted with GCH numbers correlating to thechannel allocations and merged with the source map at the Channel MapDecoded. An example of a source map 110, a channel map 112 for Cable Co.B, and a final merged channel map 114 is shown in FIG. 8. Note that thefinal merged channel map in FIG. 8 is identical to the channel map forCable Co. B in FIG. 1.

An attractive feature of this approach is that the transmission of theGCH numbers from the physical host can be entirely eliminated. This canbe achieved by programming the Channel Map Decoder to record thetelevision station call letters of the source map and the televisionchannel allocations of the channel map in sequential GCH number order.In other words, with respect to the source map, the television stationcall letters corresponding to GCH 1 is always transmitted first in theserial data stream, followed by the television station call letterscorresponding to GCH 2, and so on. Similarly, with respect to thechannel map, the television channel allocation corresponding to GCH 1 istransmitted first followed by the television channel allocation for GCH2. With this approach, the channel map can be easily constructed bysimply recording in order the television station call letters from thesource map packet in one row 116 and recording in order the televisionchannel allocations from the channel map packet in an adjacent row 118as shown in FIG. 9.

The use of a source map packet clearly provides improved bandwidthperformance of the network distribution system. However, as a practicalmatter, a single source map cannot be used to service the entire nation,even if the source map packet were transmitted to nationwide viewersthrough multiple physical hosts. This limitation becomes apparent whenone considers the sheer number of television stations operatingthroughout the country. Moreover, since any given geographic area onlytransmits a fraction of those television stations, one source map packetwould be an incredibly inefficient way to implement the describedembodiment. Accordingly, a separate source map packet must be generatedfor each geographic area. Accompanying each source map is an address tag(“host identifier” or “HOSTID”) which uniquely identifies each sourcemap. Preferably, the HOSTID corresponds to a geographic area, such as azipcode or group of zipcodes. To this end, a fourth data packet known asa “host assignment” packet is generated and transmitted by physicalhost. The host assignment packet serves to identify the appropriatesource map for a given geographical area in a similar manner describedabove with reference to the channel map identifier. However, thegrouping profile of source map packet generally differs from that of thechannel map packet. This is because a fairly large geographic region, oreven a whole city, can be covered by a single source map. In contrast,the geographic region applicable to any one channel map is limited bythe territorial coverage of its respective television service.Accordingly, a single geographic region covered by a HOSTID may includeseveral different channel maps. By way of example, the geographic areasdefined by the zipcodes 90000-90100, 90210, and 90300-90400 may beserved bye single source map having a HOSTID. Within these zipcoderegions, however, Cable Co. A may serve the 90210 zipcode and Cable Co.C may serve the 90300 zipcode. Each cable company would have its ownchannel map with a unique channel map identifier, however, the entireregion could be covered under the same HOSTID.

OTA broadcasters, on the other hand, generally serve a much widergeographic region. Typically, a single OTA broadcaster will serve theentire geographic region defined by the HOSTID. Accordingly, Channel MapDecoders operating in OTA broadcast systems can be programmed tocalculate the channel map identifier directly from the HOSTID andthereby eliminate the need to locate and process the channel mapselection packet. This increases the overall speed of the system.

The system distribution network described thus far is well suited toprovide coverage for the majority of the nation. However, in moredensely populated metropolitan areas, such as New York and Los Angeles,where the number of different zipcodes is extremely high, the bandwidthlimitations may adversely impact the data repetition rate at which thesource map packets and channel map packets can be transmitted.Accordingly, in these densely populated areas, the concept of a “logicalhost” is introduced to minimize the impact of the bandwidth limitationsand reduce the potential for data redundancy. The logical host is anabstract or conceptual host responsible for serving channel mapinformation to a particular group of viewers identified by the sameHOSTID. In these densely populated areas, it is desirable to divide thecity area into multiple groups, each served by a different logical host.The logical hosts could then be allotted between two or more physicalhosts thereby reducing the volume of data that would otherwise berequired if a single physical host were used. Conversely, a singlenational physical host can carry multiple logical hosts to numerousrural or sparsely populated areas thereby reducing the number ofphysical hosts required to serve the United States.

The logical host concept is best understood with reference to FIG. 10.In this example, there are two OTA broadcast stations employed asphysical hosts, KABC 120 and KCET 122. The network distribution systemis simplified by assuming there are no national physical hosts. Theentire Los Angeles area is split into a western region 126 and aneastern region 128 by a dividing line 124. The western region 126 isserved by KABC and the eastern region 128 is served by KCET. Eachphysical host station is further divided into two logical hosts bydividing the western and eastern regions into northern and southernregions. Accordingly, there are four logical hosts serving the entireLos Angeles area. The appropriate logical host for any particularzipcode can be ascertained by searching the host assignment packets 130,132 until a match is found between the viewer zipcode and a zipcodecontained in the packet. Referring to the host assignment packets setforth in tabular form, all zipcodes in the northwest region 134 areserved by physical host KABC and logical host 0407_(HEX), all zipcodesin the southwest region 136 are served by physical host KABC and logicalhost 0427_(HEX), all zipcodes in the northeast region 138 are served byphysical host KCET and logical host 0467_(HEX), and all zipcodes in thesoutheast region 140 are served by physical host KCET and logical host0447_(HEX). In summary, the entire Los Angeles area is served by twophysical hosts with each physical host carrying two logical hosts.

In some network distribution schemes, it may be desirable to haveoverlapping logical hosts in a given geographic area. For example,assume that all viewers located in the zipcode range of 91300-91432,with the exception of viewers in the 91356 zipcode, receive the samechannel map. With this arrangement, the host assignment packet wouldcorrelate a HOSTID to a code representative of the zipcode ranges“91300-91355 and 91357-91432.” Of course, the volume of data in thehost-assignment packet could be reduced if the zipcode range were simply“91300-91432.” This, however, would result in viewers in the 91356zipcode identifying two logical hosts. Accordingly, optimal packaging ofzipcodes could be achieved if an means for arbitrating multiple hostswere implemented. To this end, a priority bit is embedded in the HOSTID.For example, a priority bit of “0” may be included in the HOSTIDassigned to the zipcode range of 91300-91432. A priority bit of “1” maybe included in the HOSTID assigned to the 91356 zipcode. A Channel MapDecoder operating in the 91356 zipcode would be programmed to recognizeboth HOSTID's and select the second because of its higher priority. TheChannel Map Decoders operating outside the 91356 zipcode would selectthe former as the HOSTID because it is the only HOSTID assigned.Preferably, four levels of priorities are established using two prioritybits to provide greater versatility in designing the broadcastdistribution network.

It will be appreciated from the foregoing description that the broadcastdistribution network can have numerous applications in addition to thechannel mapping features described thus far. For example, data packetscan be created at the physical host for transmitting, by way of example,an electronic television program guide. This concept facilitates theselection of television programs to be watched by the viewer. In otherwords, if an electronic television program could be downloaded from thephysical host, the viewer would no longer need to make programselections by scanning the television channels or consulting atelevision program guide published as a hard copy. Instead, the programlistings could simply be recalled from memory by the viewer for displayon the television monitor and selected with a cursor for viewing orrecording. An example of such an electronic television program guide isdisclosed in U.S. patent application Ser. No. 08/475,395 filed Jun. 7,1995, which is incorporated herein by reference as though set forth infull.

Due to the immense bandwidth requirements of the electronic programguide, however, it cannot feasibly be transmitted around the clockwithout adversely impacting the data repetition rate of the channelmapping information. Accordingly, the electronic television programguide, or other similar informational data packets, must be transmittedonly at scheduled broadcast times. To facilitate this process, it wouldbe useful to know the times the desired data packets are broadcasted.This information can be ascertained through a “host schedule” packettransmitted with the channel mapping information by the physical host.An exemplary host schedule packet in tabular form is shown in FIG. 11.Each host schedule packet is preferably dedicated to a specificgeographic area and packaged in individual data blocks accompanied bythe appropriate HOSTID. For example, if the viewer is in thegeographical area served by the logical host identified by 0407_(HEX),then the electronic program guide will broadcast at 10:30 A.M. and againat 7:00 P.M.

The use of a host schedule packet requires that the microcontroller beequipped with an internal clock. Moreover, it would be desirable if theinternal clock could be continuously reset to avoid drift and maintainaccuracy. Accordingly, a clock data packet containing the current dateand time is generated by the physical host and transmitted along withthe channel mapping information. Preferably, a single standard referencetime “Universal Time Code” or “UTC” is transmitted throughout the UnitedStates. This approach further enhances bandwidth performance since asingle clock data packet can serve the entire nation without the needfor any additional addressing or coding. The UTC in the clock datapacket is converted to the applicable timezone, i.e., Eastern StandardTime, Mountain Standard Time, Central Standard Time, Pacific StandardTime, at the Channel Map Decoder through a “timezone” data packet whichis also transmitted with the channel mapping information in the VBIportion of the television signal. Preferably, the timezone packetprovides a listing of timezones for different zipcode areas, oralternatively for different HOSTIDs. In addition, a daylight savings bitmay be included in the data packet to eliminate the need to change thedata contents of the timezone packet throughout the year.

The network distribution system described thus far provides efficientand economic packaging of channel mapping information for distributionnationwide. However, it will be appreciated that numerous geographicareas throughout the country will be served by two or more cablecompanies. Moreover, each cable company may offer both a cable readyservice and a cable box service; each having a unique channel map.Finally, each geographic area served by one or more cable companies mayalso be served by one or more OTA broadcasters. FIG. 12 illustrates atypical broadcast distribution network in a portion of the Los Angelesarea. In this example, the geographic areas covered by the zipcode rangeof 90000-90050 and 90300 are served by Cable Company C 142. In addition,the viewer located in zipcode 90300 has subscribed to a cable boxservice 146 offered by Cable Co. C 142. Accordingly, the geographic areacovered by these zipcodes will have a single OTA broadcast channel map,a single cable channel map, and a single cable box channel map. Incontrast, the 90210 zipcode is served by Cable Co. A 144 and Cable Co. B146, and therefore will have a single OTA broadcast channel map and twocable channel maps. Accordingly, the Channel Map Decoder must beequipped with a means for discriminating between an OTA broadcast,multiple cable ready signals, and a cable box signal.

The initial step in this discrimination process is to determine whetherthe television transmission is an OTA broadcast or a cable signal. Thiscan be accomplished by monitoring the known RF spectrum allocations forthe local area as the frequency spectrum is swept by the tuner. By wayof example, it is conventional in the television industry to allocateOTA broadcast stations in the VHF band on alternating channels tominimize interference. For example, in the Los Angeles area, CBS isassigned to channel 2, NBC is assigned to channel 4, and channel 3 isnot used. Cable television systems, on the other hand, do not entail OTAtransmissions, but rather encompass a system whereby televisiontransmissions are distributed to subscribers by a series of amplifiersand coax cables. The cable television systems generally occupy the sameVHF and UHF bands as the OTA broadcast except that the electricalcharacteristics of the transmissions can be more tightly controlledthereby eliminating the need for channel assignment separation. As aresult, the allocation of television stations in a cable systemgenerally occupy all channels to facilitate maximum coverage in theavailable RF spectrum. Thus, a cable signal can be discriminated from anOTA broadcast by monitoring the local VHF cable channel of thetelevision transmission that would otherwise be unused if thetransmission were an OTA broadcast. For example, if a television stationis detected on channel 3 in the Los Angeles area, then the televisiontransmission is a cable signal. On the other hand, if the presence of atelevision station is not detected on channel 3 in the Los Angeles area,then the television transmission is an OTA broadcast.

For viewers without cable ready capability, or alternatively, for thoseviewers who subscribe to channels having scrambled transmissions, suchas HBO, a cable box 146 may be inserted in line between the cableservice 142 and the television receiver 144. The tuning of thetelevision station is performed at the cable box which is equipped witha tunable front end narrow bandpass filter (not shown). A video signalfrom the selected television station is remodulated onto a fixed carrierfrequency at the output of the cable box 146 and coupled to thetelevision receiver 144. The television receiver 144 is tuned to thefixed carrier frequency to receive the television transmission, by wayof example, channel 3 in the Los Angeles area. Thus, in the Los Angelesarea, once a television station's transmission is detected on channel 3,the remaining channels can be scanned to discriminate between a cableready signal and a cable box signal. If no other television stationtransmissions are detected on any other channel across the RF spectrum,then the television transmission is a cable box signal. If, on the otherhand, numerous television stations are detected as the tuner sweeps theRF spectrum, then the television transmission is a cable ready signal.

This initial discrimination process is dispositive for the geographicarea covered by the zipcodes 90000-90050 and 90300. The Channel MapDecoders employed by cable viewers in the zipcodes ranging from90000-90050 would be able to successfully download the channel map forCable Co. C subscribers. The Channel Map Decoder used with thetelevision receiver 144 for the viewer residing in the 90300 zipcodewould be able to successfully download the channel map for the cable boxservice offered by Cable Co. C. In addition, the appropriate channel mapcan also be downloaded for all OTA broadcast viewers regardless ofzipcode. However, cable viewers in the 90210 zipcode will requirefurther discrimination to determine whether their provider is Cable Co.A or Cable Co. B.

To resolve this ambiguity, a channel map selection matrix (“CMS matrix”)is transmitted in the channel map selection packet to each geographicarea having two or more cable services. An exemplary channel mapselection packet in tabular form for the geographic areas in FIG. 12 isshown in FIG. 13. Since the zipcode area covered by 9000-900050 and90300 has only one cable service, the appropriate channel mapidentifier, 2714_(HEX), can be extracted by the Channel Map Decoderdirectly from the table. In contrast, a CMS matrix 148 is transmittedwith zipcode 90210. The CMS matrix provides several or all of thechannel map pairs for each cable service in the area. Thus, if the GCHnumbers can be ascertained as the channels are scanned, then it may bepossible to construct a portion of the channel map and reject channelmaps in CMS matrix 148 that are inconsistent.

To determine the GCH numbers, this information must be included in adata packet. In a preferred embodiment, a current GCH bit is included inthe host schedule packet. An exemplary host schedule packet having acurrent GCH bit with the Channel Map Decoder tuned to GCH number 5 isshown in tabular form in FIG. 14. The current GCH bit is used toindicate the GCH number of the television channel that the VCR ortelevision receiver is currently tuned. By way of example, consider aviewer in the zipcode 90210 subscribing to Cable Co. B and having alogical host transmitting channel map information over KABC. When theviewer initiates the downloading process, the Channel Map Decoder willscan the RF spectrum in search of the logical host. In this case, thelogical host will be found on channel 3, (see FIG. 1), and theapplicable HOSTID, 0407_(HEX) (see FIG. 10), will be recorded in theChannel Map Decoder from the host assignment packet. The Channel MapDecoder will then search the host schedule packets without regard to theapplicable HOSTID for the current GCH bit. Referring to FIG. 14, thecurrent GCH bit is set to a logic “1” for GCH number 5. In other words,the GCH number of the logical host that is currently tuned in by theChannel Map Decoder is 5. As a result of this information, the ChannelMap Decoder can establish the channel map pair:

-   -   GCH 5 Television Channel 3        The Channel Map Decoder will continue to scan the RF spectrum in        search of multiple logical hosts. When the tuner is tuned to        KCET, channel 29 (see FIG. 1), the Channel Map Decoder will        detect additional host schedule packets and record the current        GCH bit, in this case the current GCH bit is set to a logic “1”        for GCH number 28 (not shown). Accordingly, a second channel map        pair can be established:    -   GCH 28 Television Channel 29

This channel mapping pair information is very useful in resolving theCMS matrix. Referring back to the channel map selection packet of FIG.13, only the channel map for Cable Co. B is consistent with the channelmap pairs generated by the Channel Map Decoder. The channel map forCable Co. A can be rejected because the channel map pair correlating GCHnumber 28 to television channel 28 from the CMS matrix is simplyinconsistent with the channel map pair correlating GCH number 28 totelevision channel 29 established by the Channel Map Decoder. Thus, themicrocontroller can identify Cable Co. B as the television servicesubscribed to by the viewer and proceed to download the channel mapaccompanied by the channel map identifier 2712 _(HEX).

Further discrimination may performed by monitoring any XDS (“ExtendedData Service”) data. Under the Extended Data Services proposed in theRecommended Practice for Line 21 Data Service, Electronics IndustriesAssociation, ETA-608 (drafts Oct. 12, 1992 and Jun. 17, 1993), thesubject matter of which is incorporated herein by reference, additionalstandardized data may be provided in line 21, field 2 of the verticalblanking interval. This recommended practice includes two closedcaptioning fields, two text mode fields and the extended data services.The extended data includes, among other information, program name,program length, length into program, channel number, networkaffiliation, television station call letters, UCT (universal coordinatedtime) time, time zone, and daylight savings time usage. Accordingly, byutilizing the television station call letters, the Channel Map Decodercan determine the corresponding GCH number using the source map packetand establish additional channel map pairs in much the same manner asdescribed above using the host schedule packets.

It will be appreciated that a condition may arise where the resolutionof the CMS matrix results in two or more channel maps. In thesesituations, more channel map information is required to complete thechannel map discrimination process. To resolve this problem, the successrate of automated CMS matrix resolving can be increased by programmingthe Channel Map Decoder to evaluate both the host schedule packet andXDS data. Alternatively, the number of physical hosts or the number ofchannels carrying XDS data can be increased. Of course, if every channelwere designated as a physical host, then the entire channel map could beconstructed by collecting all the acquired channel map pairs. Therewould be no need to explicitly transmit the channel maps for eachtelevision service. In the rare instance when the CMS matrix cannot beresolved by constructing channel map pairs, the CMS matrix could then bepresented to the television monitor and the appropriate channel mapcould be manually selected by the viewer. Alternatively, the viewer maybe requested to tune to a particular television station, i.e., HBO, andthe Channel Map Decoder can then ascertain additional channel map pairs,by extracting the GCB number for that television station from the sourcemap and correlating that number to the tuned in television channel. Thisprocess can continue by tuning in additional channels until a number ofchannel map pairs sufficient to identify a single channel map in the CMSMatrix is established.

In the above example, a single OTA broadcaster serves the entiregeographic area and the channel map identifier can be calculateddirectly from the HOSTID. However, if the exemplary geographic regionwere served by multiple OTA broadcasters, a CMS matrix would then needto be resolved in much the same manner described with respect to themultiple cable channel maps above. To circumvent the process ofconsulting the channel map selection packet to determine whether a CMSmatrix exists for an area served by a single OTA broadcaster, it isdesirable to include a Multi-OTA bit in the host assignment packet. Anexemplary host assignment packet employing this concept is shown intabular form in FIG. 15. From this figure, it is apparent that a ChannelMap Decoder operating in the 90210 zipcode and receiving an OTAbroadcast could determine that the area is served by a single OTAbroadcaster by examining the Multi-OTA bit, in this case a logic level“0”, and commence calculating the channel map identifier from the HOSTIDwithout consulting the channel map selection packet. Conversely, aChannel Map Decoder operating in the 95670 zipcode and receiving an OTAbroadcast, would detect a logic level “1” for the Multi-OTA bitindicating the presence of two or more OTA broadcasters in the area.Accordingly, the Channel Map Decoder would-then need to consult thechannel map selection packet, to resolve the CMS matrix beforedownloading the appropriate channel map.

Turning to FIG. 16, an electrical block diagram of a preferredembodiment of the Channel Map Decoder is shown. Preferably, a singlechip 8-bit microcontroller 200, hereinafter referred to as the “channelmapping microcontroller,” is used to implement the channel mappingfunction. The chip core is a microprocessor, such as a 68HC05CCV fromMotorola with 512 byte internal Ram, 12K byte ROM, and a VBI decoder.This chip can embedded into any VCR or television. Alternatively, thechannel map decoding functions can be implemented and coded into theexisting microcontroller in the VCR or television, provided the systemhas a VBI decoder.

The channel mapping microcontroller 200 is coded to perform all thechannel mapping functions described above. Thus, the manufacturer of thetelevision receiver or VCR need only insert the channel mappingmicrocontroller 200 into their system, establish communication betweenthe existing microcontroller 202 and the channel mapping microcontroller200, and code the specific control protocol. Once set, the channelmapping microcontroller 200 will operate under complete control of theexisting or main microcontroller 202. Upon completion of the channelmapping process, the channel mapping microcontroller transfers thechannel map and the clock to the main microcontroller 202 for storing ininternal memory (not shown), and clears its own internal memory (notshown). By storing the ultimate channel mapping information in the mainmicrocontroller 202, the amount of memory required by the channelmapping microcontroller can be minimized.

Preferably, the main microcontroller 202 is also a 68HC05CCV fromMotorola. In this configuration, the two microcontrollers can interfacethrough a standard four pin Serial Peripheral Interface (“SPI”) bus 204with a specific protocol. SPI is an interface used by Motorola'smicrocontroller to allow several SPI microcomputers, or SPI-typeperipherals to be interconnected. The SPI bus 204 includes a separateline for data transmission and a separate line for the clock. The SPIsystem is particularly attractive for the channel mapping functionbecause the system is designed to operate with one mastermicrocontroller controlling one or more slaves. Ideally, themicrocontroller 202, the channel mapping microcontroller 200, and otherperipheral devices can be configured as a single-master-multi-slavesystem, in which the channel mapping microcontroller 200 is one of theslave devices. A detailed specification of the SPI bus is disclosed inthe “MC68HC05/705CCV—Product Specification” from Motorola and isexpressly incorporated herein by reference as though set forth in full.

The main microcontroller 202 provides tuning control of a VHF/UHF tuner206. The tuner 206, which can be any conventional tuner in the art, isgenerally implemented with an RF amplifier 208 positioned at the frontend of the tuner 206 for receiving the television signal. The RFamplifier 208 should provide initial amplification with good noisefigure performance. The output of the RF amplifier 208 is downconvertedto an intermediate frequency (IF) by a variable local oscillator (LO)signal at mixer 210. A low pass narrow-band filter 212 is connected atthe output of the mixer 210 for passing the difference frequency (IFfrequency) of the selected channel. The output of the low passnarrow-band filter 212 is coupled to an IF demodulator 214 forextracting the base band video signal from the IF carrier frequency.

An example of a suitable tuner is a FI1236 tuner manufactured byPhillips Components. The main microcontroller 202 can be programmed tointerface with the FI1236 tuner through an inter-IC or I²C-bus. TheI²C-bus is a bidirectional 2-wire bus owned and licensed by PhillipsComponents. The two wires include a serial data line and a serial clockline for carrying tuning information between the main microcontroller202 and the tuner 206.

The FI1236 tuner includes an RF section and an IF section together on asingle printed circuit board. Accordingly, optimal packaging ofelectronics can be achieved since the tuning, downconversion anddemodulation may be performed in the same package. Tuning and bandwidthswitching is performed with a conventional digital programming phaselock loop tuning system for controlling the variable local oscillator.

The selected channel at the output of the tuner 206 is coupled to thechannel mapping microcontroller and to a sync pulse extractor 216. Thesync pulse extractor provides filtering of the composite base band videosignal and passes the horizontal and vertical sync pulses to separateoutputs. The horizontal and vertical sync pulses are coupled to thechannel mapping microcontroller 200. The sync pulses synchronize thechannel mapping microcontroller 200 to the base band video signal. Thesync pulse extractor may be any conventional device known in the art, byway of example, a LA7218 manufactured by Sanyo Semiconductor Company.

The horizontal sync pulse at the output of the sync pulse extractor isalso coupled to a detector 218 to determine the stability of thehorizontal sync pulse. By determining the stability of the horizontalsync pulse, the main microcontroller 202 can determine whether atelevision station has been allocated to that particular channel in theRF spectrum selected by the tuner 206. This determination can be used bythe main microcontroller 202 to discriminate between an OTA, a cableready signal, or a cable box signal.

The detector 218 can be any conventional device known in the art. A costeffective approach for constructing the detector 218 is with aretriggerable one-shot device. The time constant of the one-shot is setfor a period greater than the horizontal scan rate so that the one-shotoutput remains triggered when the tuner is tuned to a channel that hasbeen allocated to a television station. In other words, when thetelevision receiver is tuned to a television station, the horizontalsync pulse is stable and the one-shot output remains at a substantiallyconstant output voltage because the one-shot is continuously retriggeredby the horizontal sync pulse prior to timing out. Conversely, if thetuned channel is not one allocated to a television station, thehorizontal sync pulse will be asynchronous resulting in random time-outsof the one-shot output. Accordingly, the main microcontroller 202 candetermine whether the channel currently tuned in is one in which atelevision station has been allotted by simply monitoring the output ofthe one-shot for a constant voltage.

Preferably, a remote control unit 220 is provided for user control ofthe system. The remote control unit 220 has an infrared (“IR”)transmitter which emits a wide band IR signal to an IR detector (notshown) on the main microcontroller 202 in response to a user command.The remote control unit 220 allows the user to select the channelmapping function by merely depressing a key on the unit. The channelmapping select signal is transmitted to the main microcontroller 202through the IR interface and initiates the channel mapping programstored in internal memory.

The channel mapping program is best understood with reference to theflow diagrams of FIGS. 17-19. Turning to FIG. 17, once the channelmapping SELECTION 300 is made by the viewer, the main microprocessorwill cause the television monitor to prompt the viewer to ENTER theZIPCODE 302. Once the zipcode is successfully transmitted to the mainmicrocontroller through the IR interface, the main microcontroller willenter into a television transmission SOURCE DETECTION 304 routine. Ifthe main microcontroller determines that the television transmissionsource is a CABLE BOX SIGNAL 306, a set of IR codes stored in the mainmicrocontroller is transmitted to an IR detector (not shown) in thecable box through an RF blaster (not shown) to SET the IR CODES 308which are compatible with the cable box in use by means known in theart. This step is necessary to give the main microcontroller controlover the tuner in the cable box so that the RF spectrum can be swept tolocate channel mapping information. Once the proper IR codes are loadedinto the cable box, or alternatively, if the main microcontrollerdetermines that the television transmission is an OTA broadcast or acable ready signal, then the main microcontroller enters into a CHANNELMAP DOWNLOAD routine 310. Once the channel map is downloaded, the mainmicrocontroller surrenders control of the tuner to the viewer.

Preferably, the channel-map will be continuously updated by the ChannelMap Decoder. Once the initial channel map has been downloaded intomemory, the Channel Map Decoder will enter into a WAIT 312 mode. After apredetermined time, the Channel Map Decoder will determine whether theTELEVISION RECEIVER IS IN USE 314. In the event that the televisionreceiver is currently in use, the Channel Map Decoder will re-enter intothe WAIT 312 mode. Only when the television receiver is not in use, soas not to disturb the viewer as the television channels are scanned forchannel mapping information, will the Channel Map Decoder repeat theexecution of the channel mapping program.

Turning to FIG. 18, a flow diagram for the TELEVISION TRANSMISSIONSOURCE DETECTION 304 routine is shown. The program begins with a CHANNELINITIALIZATION 400 routine which selects an initial channel andgenerates an output representative of the initial channel having anI²C-bus protocol. The initial channel is preferably the local VHF cablechannel, by way of example, channel 3 in the Los Angeles area. In thedescribed embodiment, a CH3/CH4 switch 222 (see FIG. 16) is mounted tothe television chassis and coupled to the main microcontroller toidentify the local VHF cable channel. The CH3/CH4 switch 222 is manuallyset be the viewer.

The program then proceeds to a HORIZONTAL SYNC PULSE STABILITY 402routine wherein an input signal is monitored to determine whether thehorizontal sync pulse is stable in time. In the described embodiment, astable horizontal sync pulse is detected if the input signal from theoutput of the one-shot has a constant voltage level for a predeterminedtime. If random pulses are detected on the input signal, the mainmicrocontroller determines that the horizontal sync pulse is unstableand therefore a television station has not been allocated to thischannel. Based on the absence of a television station on the local VHFcable channel, the main microcontroller determines that the televisiontransmission is an OTA BROADCAST 404. If a stable horizontal sync pulseis detected the television transmission is not an OTA broadcast so theprogram then enters into a CHANNEL SCAN 406 loop wherein the VHF andlower band UHF channels, preferably channels 2-29, are sequentiallystepped through to determine the number of television stations allocatedin the particular television transmission. It will be understood,however, by those skilled in the art, that the CHANNEL SCAN 406 loop canbe implemented by scanning the VHF and lower band UHF channels in anysequence. The CHANNEL SCAN 406 loop comprises the following routine.

A CHANNEL SELECT 408 routine is entered wherein the channel having thelowest frequency band that has not been previously selected is selectedand outputted in a standard I²C-bus protocol. The HORIZONTAL SYNC PULSESTABILITY 410 is monitored to determine whether the horizontal syncpulse is stable. A stable horizontal sync pulse indicates that atelevision station has been allocated to the selected channel. TheACCUMULATOR 412 routine, which is initially cleared during the CHANNELINITIALIZATION 400 routine, accumulates the number of channels having astable horizontal sync pulse during the CHANNEL SCAN 406 loop. ACOMPARISON 414 routine is entered wherein the number of televisionstation allocations in the particular television transmission, asdetermined by the ACCUMULATOR 412 routine, is compared to a thresholdnumber. If such television station allocations exceed the thresholdnumber, the program exits from the CHANNEL SCAN 406 loop and determinesthat the television transmission is a CABLE READY SIGNAL 416. If suchtelevision station allocations do not exceed the threshold, the mainmicrocontroller enters into a CONTINUE CHANNEL SCAN 418 routine todetermine whether all the VHF and lower band UHF channels have beenselected in the CHANNEL SCAN 406 loop. The CONTINUE CHANNEL SCAN 418routine causes the program to branch back to the CHANNEL SELECT 408routine if all the channels have not been selected. Conversely, if allthe channels have been selected, the program exits from the CHANNEL SCAN406 loop and determines that the television transmission is a CABLE BOXSIGNAL 120.

In theory, once a stable horizontal sync pulse is detected in theCHANNEL SCAN 406 loop, a determination can be made that the televisiontransmission is not a cable box signal since the base band video signaloutput of the cable box is modulated onto a single fixed channel, by wayof example, channel 3 in the Los Angeles area. However, certainpractical considerations dictate that the threshold number should begreater to increase the accuracy of detection.

The primary consideration is to ensure that the threshold number be highenough to minimize the effects of OTA broadcast interference. OTAbroadcasts occupying the VHF bands present a real problem for reliablydiscriminating between a cable ready signal and a cable box signal. Thisis mainly due to the power level of VHF transmissions which may resultin the parasitic coupling of composite video signals into the system. Ofcourse, known filtering and shielding techniques can be implemented toavoid this problem thereby reducing the threshold number down to as lowas one. However, these techniques are rather complex and may drive theoverall cost of the system to a point where it is no longer economicallyfeasible. Accordingly, it is more prudent to simply increase thethreshold number of stable horizontal sync pulses required as the cablechannels are scanned to compensate for this interference potential. Inthe described embodiment, six or less stable sync pulses is optimal todetermine that the cable signal is a cable box signal.

Once the particular television service subscribed to by the viewer isdetermined, and the appropriate zipcode is entered into memory, theChannel Map Decoder is ready to locate and download the appropriatechannel map transmitted from the physical host. This process isimplemented by the CHANNEL MAP DOWNLOAD routine 310 stored in the mainmicrocontroller. Referring to FIG. 19, the main microcontroller entersin a CHANNEL INITIALIZATION 500 routine which selects an initial channeland generates an output representative of the initial channel having anI²C-bus protocol. Once the selected channel is tuned, the mainmicrocontroller commands the channel mapping microcontroller, via theSPI bus, to SEARCH THE VBI 502 for data. In the event that the channelmapping microcontroller is unable to locate any data in the VBI, themain microcontroller will enter into a CHANNEL SCAN routine 503 insearch of VBI data.

Once the CHANNEL SCAN routine 503 is invoked, the main microcontrollerwill cause the tuner to TUNE TO THE NEXT CHANNEL 504 and the channelmapping microcontroller will perform another VBI SEARCH 506 on the newlyselected channel. Preferably, the main microcontroller will scan thechannels sequential, however, it will be understood by those skilled inthe art that the channels may be scanned in any order.

In the event that the channel mapping microcontroller detects data inthe VBI, either after the CHANNEL INITIALIZATION 500 routine or aftertuner is tuned to a different channel 504, the channel mappingmicrocontroller determines whether the data is CHANNEL MAPPINGINFORMATION 508. This requires that the channel mapping microcontrollerinitiate a validation process which includes confirming the proper datapacket format, i.e., the start and stop code and the checksum. If thechannel mapping microcontroller determines that the VBI data is channelmapping information, then the channel mapping microcontroller willattempt to LOCATE THE HOST SCHEDULE PACKET 510, and RECORD THE CURRENTGCH NUMBER 512. Subsequently, the channel mapping microcontroller willattempt to LOCATE THE HOST ASSIGNMENT PACKET 514. Once the hostassignment packet is located, the channel mapping microcontroller willsearch for HOSTIDs correlating to its zipcode, and if successfullylocated, the microcontroller will RECORD THE HOSTIDs and theaccompanying MULTI-OTA BITs 516. Once the host assignment packet issearched and the proper information recorded in memory, oralternatively, if the Channel Map Decoder determines that there is nochannel mapping information present in the VBI 508, then the Channel MapDecoder will look to VBI line 21 field 2 to locate any XDS DATA 518 andRECORD any XDS DATA 520 found.

Once the HOSTID or HOSTIDs from the host assignment table and the XDSdata are recorded in memory, the Channel Map Decoder enters back intothe CHANNEL SCAN 503 routine to scan the remaining channels for channelmapping information or XDS data. The main-microcontroller determineswhether ALL THE CHANNELS HAVE BEEN SCANNED 522. In the event that allthe channels in the RF spectrum have not been scanned, the Channel MapDecoder tunes to the next channel 504. Conversely, if all the channelshave been scanned, the Channel Map Decoder exits the CHANNEL SCANroutine 503.

The initial inquiry after all the channels have been scanned for channelmapping information and XDS data is whether MULTIPLE HOSTIDs 524 havebeen identified. If only one HOSTID has been detected, then the ChannelMap Decoder TUNES TO THE LOGICAL HOST 526 identified by that HOSTID.Conversely, if multiple HOSTIDs have been detected, the Channel MapDecoder executes a HOST ARBITRATION 528 routine to determine the highestpriority HOSTID assigned to the particular zipcode of the viewer. Oncethe highest priority HOSTID is successfully arbitrated, the Channel MapDecoder TUNES TO THE TOP PRIORITY LOGICAL HOST 530.

Once tuned to the appropriate logical host, the Channel Map Decoder willattempt to LOCATE THE CLOCK PACKET AND TIMEZONE PACKET 531 and DOWNLOADTHE UTC CLOCK AND ADJUST THE TIME 533. The Channel Map Decoder will thenattempt to LOCATE THE SOURCE MAP PACKET 532, and DOWNLOAD THE SOURCE MAP534 into memory. In the event that the Channel Map Decoder hasidentified an OTA BROADCAST 536 and the MULTI-OTA BIT 538 indicates asingle OTA broadcaster in the zipcode of the viewer, then the CHANNELMAP IDENTIFIER 540 can be calculated from the HOSTID. If, on the otherhand, the Channel Map Decoder has detected a cable transmission 536 ormultiple OTA broadcasters in the area, then the Channel Map Decoder willattempt to LOCATE THE CHANNEL MAP SELECTION PACKET 540, and determinewhether MULTIPLE CHANNEL MAPS 542 exist for the particular zipcode ofthe viewer. In the event that multiple channel maps are detected, theChannel Map Decoder will EXTRACT THE CMS MATRIX 544 from the channel mapselection packet and attempt to RESOLVE THE CMS MATRIX 546. If the CMSmatrix cannot be resolved, then the Channel Map Decoder will LOOK UP THEGCH NUMBER FOR ANY XDS DATA 548 in the source map to further attempt toRESOLVE THE CMS MATRIX 550. It is contemplated that an appropriatenumber of physical hosts or channels carrying XDS data will be employedto assure resolution of the CMS matrix at this point in the flowdiagram. However, in the event that resolution cannot be ascertainedbased on the channel mapping information and the XDS data currentlystored in memory, the CMS matrix will be displayed on the televisionmonitor and the user will be prompted to make a USER SELECTION 552.

Regardless of the method of CMS matrix resolution, the Channel MapDecoder will record the resultant CHANNEL MAP IDENTIFIER 554, andDOWNLOAD THE CHANNEL MAP 556 into memory. If the Channel Map Decoderdetects a single channel map 542, then the CHANNEL MAP IDENTIFIER 550may be recorded directly from the channel map selection table and thechannel map DOWNLOADED 556 without CMS resolution. Finally, if theChannel Map Decoder is able to calculate the channel map identifierdirectly from the HOSTID 540, then the channel map can be DOWNLOADED 556without consulting the channel map selection packet at all. Once thechannel map is downloaded, the Channel Map Decoder MERGES THE SOURCE MAPINTO THE CHANNEL MAP 558 to provide mapping between the channelallocations in the RF spectrum and the call letters of the televisionstations.

It is apparent from the foregoing that the present invention satisfiesan immediate need for a system and method for automating the downloadingof channel maps. The features of this channel mapping system may beembodied in other specific forms and used with a wide variety oftelecommunication services, without departing from the spirit oressential attributes of the present invention. It is, therefore, desiredthat the present embodiment be considered in all respects asillustrative and not restrictive, reference being made to the appendedclaims rather than the foregoing description to indicate the scope ofthe invention.

1.-41. (canceled)
 42. A method performed by a user equipment fordetermining a mapping of television channels to television stations at aspecific geographic location, the method comprising: receivingtelevision signals of a plurality of channels, wherein the televisionsignals include a plurality of channel map identifiers; receiving ageographic area identifier; scanning the television signals to identifya channel map identifier of the plurality of channel map identifiersbased on the received geographic area identifier; and determining achannel map corresponding to the identified channel map identifier. 43.The method of claim 42, wherein the determining the channel mapcorresponding to the identified channel map identifier comprises:searching the television signals of the plurality of channels to find adata block having the identified channel map identifier; and extractingfrom the data block the channel map.
 44. The method of claim 42, furthercomprising storing the channel map into a memory.
 45. The method ofclaim 44, further comprising waiting until the user equipment is not inuse to store the channel map into the memory.
 46. The method of claim42, wherein at least one of the television signals contain data packetsthat are divided into data blocks.
 47. The method of claim 42, whereinthe determining a channel map corresponding to the identified channelmap identifier comprises receiving a user input of one of the pluralityof channels.
 48. The method of claim 42, wherein the received geographicarea identifier is a user inputted geographic area identifier comprisinga zip code.
 49. The method of claim 42, wherein the channel map is usedto schedule a recording of programming.
 50. The method of claim 42,wherein a channel map packet is used to identify the channel mapidentifier, of the plurality of channel map identifiers, that isassociated with the received geographic area identifier.
 51. The methodof claim 42, wherein the channel map indicates a mapping of each of theplurality of channels to a corresponding television station of theplurality of television stations for the specific geographic locationcorresponding to the geographic area identifier.
 52. A user equipmentfor determining a mapping of television channels to television stationsat a specific geographic location, the user equipment comprising: meansfor receiving television signals of a plurality of channels, wherein thetelevision signals include a plurality of channel map identifiers; meansfor receiving a geographic area identifier; means for scanning thetelevision signals to identify a channel map identifier of the pluralityof channel map identifiers based on the received geographic areaidentifier; and means for determining a channel map corresponding to theidentified channel map identifier.
 53. The user equipment of claim 52,further comprising: means for searching the television signals of theplurality of channels to find a data block having the identified channelmap identifier; and means for extracting from the data block the channelmap.
 54. The user equipment of claim 52, further comprising means forstoring the channel map into a memory.
 55. The user equipment of claim54, further comprising means for waiting until the user equipment is notin use to store the channel map into the memory.
 56. The user equipmentof claim 52, wherein at least one of the television signals contain datapackets that are divided into data blocks.
 57. The user equipment ofclaim 52, further comprising means for receiving a user input of one ofthe plurality of channels.
 58. The user equipment of claim 52, whereinthe received geographic area identifier is a user inputted geographicarea identifier comprising a zip code.
 59. The user equipment of claim52, wherein the channel map is used to schedule a recording ofprogramming.
 60. The user equipment of claim 52, wherein a channel mappacket is used to identify the channel map identifier, of the pluralityof channel map identifiers, that is associated with the receivedgeographic area identifier.
 61. The user equipment of claim 52, whereinthe channel map indicates a mapping of each of the plurality of channelsto a corresponding television station of the plurality of televisionstations for the specific geographic location corresponding to thegeographic area identifier.